/**
 * Created by zhong on 2018/1/24.
 */
import api from "./api.js"
import qs from "qs"

export const recipeApi = {
  add(data){
    return api.post("/api/recipe/add",qs.stringify(data))
  },
  update(data){
    return api.put("/api/recipe/update",qs.stringify(data))
  },
}
